﻿using DirectSell.Model.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Direct.IDAL.User.Jurisdiction
{
    /// <summary>
    /// 位置网络图数据接口
    /// </summary>
    public interface INetworkMapRepository:IAbsRepository
    {
        /// <summary>
        /// 查询第一层
        /// </summary>
        /// <returns></returns>
        Task<UserInforMationDetails> QueryFirstFloor(string usercode);
        /// <summary>
        /// 根据接点和区域向后查询
        /// </summary>
        /// <param name="userid"></param>
        /// <returns></returns>
        Task<UserInforMationDetails> Querybehind(string ContactCode, int area);
        ///// <summary>
        ///// 查询第二层左1
        ///// </summary>
        ///// <param name="userid"></param>
        ///// <returns></returns>
        //Task<UserInforMationDetails> QuerySecondFloorLeft(int userid);
        ///// <summary>
        ///// 查询第二层右1
        ///// </summary>
        ///// <param name="userid"></param>
        ///// <returns></returns>
        //Task<UserInforMationDetails> QuerySecondFloorRight(int userid);

        ///// <summary>
        ///// 查询第三层左1
        ///// </summary>
        ///// <param name="userid"></param>
        ///// <returns></returns>
        //Task<UserInforMationDetails> QueryThirdFloorLeft1(int userid);
        ///// <summary>
        ///// 查询第三层左2
        ///// </summary>
        ///// <param name="userid"></param>
        ///// <returns></returns>
        //Task<UserInforMationDetails> QueryThirdFloorLeft2(int userid);
        ///// <summary>
        ///// 查询第三层右1
        ///// </summary>
        ///// <param name="userid"></param>
        ///// <returns></returns>
        //Task<UserInforMationDetails> QueryThirdFloorRight1(int userid);

        ///// <summary>
        ///// 查询第三层右2
        ///// </summary>
        ///// <param name="userid"></param>
        ///// <returns></returns>
        //Task<UserInforMationDetails> QueryThirdFloorRight2(int userid);
    }
}
